package hashTable;

import com.google.common.hash.Hashing;

import java.nio.charset.StandardCharsets;

/**
 * @author czt
 * @version 1.0
 * @since 2025/1/6
 */
public class MurmurHashTest {

    /*
    * 哈希算法
    * */
    public static void main(String[] args) {
        int abc = Hashing.murmur3_32().hashString("abc", StandardCharsets.UTF_8).asInt();
        System.out.println("abc = " + abc);
    }
}
